package com.example.demo.mapper;

import com.example.demo.entity.User;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author 54398
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-10-22 10:51:14
* @Entity com.example.demo.entity.User
*/
public interface UserMapper extends MPJBaseMapper<User> {
    Map<String, Object> getUserInfo(@Param("id") Integer id);

    User getLoginInfo(@Param("username") String username);

    List<Map<String, Object>> getUserList(User user);

    int insertUsers(List<User> userList);

    /*UserRoleVO getUserRoleInfo(@Param("id") Integer id);

    Map<String, Object> getUser(@Param("id") Integer id);*/
}




